<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"
%><%@ page import="com.fefa.coins.db.Consultas"
%><%@ page import="com.fefa.coins.html.CommonHTML"
%><%@ page import="java.util.*"
%><%
	String path = request.getContextPath();
%><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
		<title>Mis Monedas - Tareas</title>
		<meta name="keywords" content="" />
		<meta name="Miguel Ángel Antón Rodríguez" content="" />
		<link href="<%=path%>/css/default.css" rel="stylesheet" type="text/css" media="screen" />
	</head>
<%=CommonHTML.buildHead(path, "Tareas")%>

	<body>
		<%=CommonHTML.buildHeader(path, CommonHTML.MENU_GESTION) %>

		<div id="wrapper"><!-- start page -->
			<div id="page"><!-- start content -->
				<div id="content">
					<div class="seccion">
						<%=CommonHTML.buildSectionTitle(null, "Tareas Pendientes") %>
		    			<div class="entry">
<%ArrayList<ArrayList<String>> tasks = Consultas.getTasks();%>
							<table class="grid">
								<tr>
									<th class="gridHead">Tarea</th>
								</tr>
<%for (int i=0; i < tasks.size(); i++) {
	ArrayList<String> t = tasks.get(i);%>	
								<tr><%=CommonHTML.getTD(i, t.get(0))%></tr>
<%}%>
							</table>

						</div> <!-- Entry -->
					</div> <!-- Post -->
				</div><!-- Content --> 
				<%=CommonHTML.buildMngmtSubMenu(path) %>

				<div style="clear: both;">&nbsp;</div>
			</div> <!-- Page -->
		</div> <!-- Wrapper -->
		
		<%=CommonHTML.buildFooter() %>
	</body>
</html>
